﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using Web.Service;

namespace Web.Controllers
{
    
    public class ApiController : BaseController
    {
        private ConfigsService configsService = ConfigsService.GetInstance();

        /// <summary>
        /// 获取用户配置
        /// </summary>
        /// <param name="token">用户许可号</param>
        /// <returns></returns>
        public String GetUserConfig(String token)
        {
            return JsonResult(configsService.GetUserConfig(token));
        }


    }
}